<?php

defined('_JEXEC') or die('Restricted Access');

JHtml::_('behavior.tooltip');
?>

<form action="<?php echo JRoute::_('index.php?option=com_raovat&view=raovats'); ?>" method="post" name="adminForm"  id="adminForm">
		<?php if (!empty( $this->sidebar)) : ?>
			<div id="j-sidebar-container" class="span2">
				<?php echo $this->sidebar; ?>
			</div>
			<div id="j-main-container" class="span10">
		<?php else : ?>
			<div id="j-main-container">
		<?php endif;?>
		    	<div id="filter-bar" class="btn-toolbar">
					<div class="filter-search btn-group pull-left">
						<label for="filter_search" class="element-invisible"><?php echo JText::_('Search'); ?></label>
						<input type="text" name="filter_search" id="filter_search" placeholder="<?php echo JText::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" />
					</div>
					<div class="btn-group pull-left hidden-phone">
						<button type="submit" class="btn "><i class="icon-search"></i></button>
						<button type="button" class="btn "  onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button>
					</div>
				</div>
		        <div class="clearfix"> </div>
		        <table class="table table-striped" id="articleList">
		            <thead>
		                <tr>
		                    <th width="5">ID</th>
		                    <th width="20">
		                        <input type="checkbox" name="checkall-toggle" value="" onclick="Joomla.checkAll(this)" />
		                    </th>			
		                    <th>Title</th>
		                    <th>Category</th>
		                    <th>Region</th>
		                    <th>Contact</th>
		                    <th>Date</th>
		                    <th width="1%" style="min-width:55px" class="nowrap center">
							<?php echo JText::_('JSTATUS');?>
							</th>
		                </tr>
		            </thead>
		            <tfoot><?php echo $this->loadTemplate('foot');?></tfoot>
		            <tbody><?php echo $this->loadTemplate('body');?></tbody>
		        </table>
		        <div>
		            <input type="hidden" name="task" value="" />
		            <input type="hidden" name="boxchecked" value="0" />
		            <?php echo JHtml::_('form.token'); ?>
		        </div>
		    </div>
		</form>

